package org.session.model;

import java.util.Collection;

import org.session.util.ObjectDelegate;

public final class GetEntriesFromSessionRequest extends IRequest {
    private String sessionId;
    private Collection<String> keys;

    public GetEntriesFromSessionRequest(String sessionId,
            Collection<String> keys, int ttlMillis, boolean idempotence) {
        this.sessionId = sessionId;
        this.keys = keys;
        this.ttlMillis = ttlMillis;
        this.idempotence = idempotence;
    }

    public String getSessionId() {
        return sessionId;
    }

    public Collection<String> getKeys() {
        return keys;
    }

    @Override
    public String toString() {
        return ObjectDelegate.toString(this);
    }
}
